from django.conf.urls import url
from . import views

urlpatterns = [
    url(r'^imagecodes/(?P<image_code_id>.+)/$',
        views.RegisterImageCodeView.as_view(), name='imagecode'),
    url(r'^smscodes/(?P<mobile>1[3456789]\d{9})/$',
        views.RegisterSMSCodeView.as_view(), name='smscodes'),
]